/* =========
    百分比
===========*/
.w100 {
    width: 100%;
}

.w50 {
    width: 50%;
}

.w20 {
    width: 20%;
}

.w25 {
    width: 25%;
}

.h100 {
    height: 100%;
}

.h50 {
    height: 50%;
}

.maxW40 {
    max-width: 40%;
}

/* =========
    display 属性
===========*/
.display-block {
    display: block;
}

.display-inline-block {
    display: inline-block;
}

.display-none {
    display: none;
}

/* flex 弹性布局 */

.flex {
    display: flex;
}

.flex-shringk-0 {
    flex-shrink: 0;
}

.basis-xs {
    flex-basis: 20%;
}

.basis-sm {
    flex-basis: 40%;
}

.basis-df {
    flex-basis: 50%;
}

.basis-lg {
    flex-basis: 60%;
}

.basis-xl {
    flex-basis: 80%;
}

.flex-sub {
    flex: 1;
}

.flex-twice {
    flex: 2;
}

.flex-treble {
    flex: 3;
}

.flex-quadruple {
    flex: 4;
}

.flex-quintuple {
    flex: 5;
}

.flex-direction {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-grow-1 {
    flex-grow: 1;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.self-start {
    align-self: flex-start;
}

.self-center {
    align-self: flex-center;
}

.self-end {
    align-self: flex-end;
}

.self-stretch {
    align-self: stretch;
}

.align-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

/* 内边距 */

.padding-0 {
    padding: 0;
}

.padding-xs {
    padding: 8px;
}

.padding-sm {
    padding: 16px;
}

.padding {
    padding: 24px;
}

.padding-lg {
    padding: 32px;
}

.padding-xl {
    padding: 40px;
}

.padding-xxl {
    padding: 48px;
}

.padding-top-0 {
    padding-top: 0;
}

.padding-top-xs {
    padding-top: 8px;
}


.padding-top-sm {
    padding-top: 16px;
}

.padding-top {
    padding-top: 24px;
}

.padding-top-lg {
    padding-top: 32px;
}

.padding-top-xl {
    padding-top: 40px;
}

.padding-top-xxl {
    padding-top: 48px;
}

.padding-right-0 {
    padding-right: 0;
}

.padding-right-xs {
    padding-right: 8px;
}

.padding-right-sm {
    padding-right: 16px;
}

.padding-right {
    padding-right: 24px;
}

.padding-right-lg {
    padding-right: 32px;
}

.padding-right-xl {
    padding-right: 40px;
}

.padding-right-xxl {
    padding-right: 48px;
}

.padding-bottom-0 {
    padding-bottom: 0;
}


.padding-bottom-xs {
    padding-bottom: 8px;
}

.padding-bottom-sm {
    padding-bottom: 16px;
}

.padding-bottom {
    padding-bottom: 24px;
}

.padding-bottom-lg {
    padding-bottom: 32px;
}

.padding-bottom-xl {
    padding-bottom: 40px;
}

.padding-bottom-xxl {
    padding-bottom: 48px;
}

.padding-left-0 {
    padding-left: 0;
}

.padding-left-xs {
    padding-left: 8px;
}

.padding-left-sm {
    padding-left: 16px;
}

.padding-left {
    padding-left: 24px;
}


.padding-left-lg {
    padding-left: 32px;
}

.padding-left-xl {
    padding-left: 40px;
}

.padding-left-xxl {
    padding-left: 48px;
}


/* 外边距 */

.margin-0 {
    margin: 0;
}

.margin-xs {
    margin: 8px;
}

.margin-sm {
    margin: 16px;
}

.margin {
    margin: 24px;
}

.margin-lg {
    margin: 32px;
}

.margin-xl {
    margin: 40px;
}

.margin-xxl {
    margin: 48px;
}

.margin-top-0 {
    margin-top: 0;
}

.margin-top-xs {
    margin-top: 8px;
}

.margin-top-sm {
    margin-top: 16px;
}

.margin-top {
    margin-top: 24px;
}

.margin-top-lg {
    margin-top: 32px;
}

.margin-top-xl {
    margin-top: 40px;
}

.margin-top-xxl {
    margin-top: 48px;
}

.margin-right-0 {
    margin-right: 0;
}

.margin-right-xs {
    margin-right: 8px;
}


.margin-right-sm {
    margin-right: 16px;
}

.margin-right {
    margin-right: 24px;
}

.margin-right-lg {
    margin-right: 32px;
}

.margin-right-xl {
    margin-right: 40px;
}

.margin-right-xxl {
    margin-right: 48px;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

.margin-bottom-xs {
    margin-bottom: 8px;
}

.margin-bottom-sm {
    margin-bottom: 16px;
}


.margin-bottom {
    margin-bottom: 24px;
}

.margin-bottom-lg {
    margin-bottom: 32px;
}

.margin-bottom-xl {
    margin-bottom: 40px;
}

.margin-bottom-xxl {
    margin-bottom: 48px;
}


.margin-left-0 {
    margin-left: 0;
}

.margin-left-xs {
    margin-left: 8px;
}

.margin-left-sm {
    margin-left: 16px;
}

.margin-left {
    margin-left: 24px;
}

.margin-left-lg {
    margin-left: 32px;
}

.margin-left-xl {
    margin-left: 40px;
}

.margin-left-xxl {
    margin-left: 48px;
}

/* 背景色 */
.color-dark {
    background-color: #d6ae74;
}

.color-light {
    background-color: #3D6EFF;
}

.color-grey {
    background-color: #f7f7f7;
}

.color-white {
    background-color: #ffffff;
}

.color-red {
    background-color: #ff4d4f;
}

.color-black {
    background-color: #000000;
}

.color-brown {
    background-color: #e6b983;
}


.color-transparent {
    background-color: transparent;
}

.gradual-color-941-1ff {
    background: linear-gradient(0deg, #fc1941, #0471ff);
}

/* 字体颜色 */
.text-color-red {
    color: #FF0000;
}

.text-color-black {
    color: #000000;
}

.text-color-inblack {
    color: #111111;
}

.text-color-dark {
    color: #3D6EFF;
}

.text-color-wood {
    color: #ffe4b9;
}

.text-color-white {
    color: #ffffff;
}

.text-color-darkgray {
    color: #333333;
}

.text-color-gray {
    color: #666666;
}

.text-color-lightgray {
    color: #999999;
}

.gradual-text-color-light {
    background: linear-gradient(0deg, #e4ab52 0%, #ffdaa5 100%);
}

/* 字体大小 */

.text-xs {
    font-size: 16px;
}

.text-sm {
    font-size: 20px;
}

.text-md {
    font-size: 22px;
}

.text-df {
    font-size: 24px;
}

.text-lg {
    font-size: 26px;
}

.text-xl {
    font-size: 30px;
}

.text-xxl {
    font-size: 32px;
}


/* 字体居中 */

.text-align-center {
    text-align: center;
}

.text-align-left {
    text-align: left;
}

.text-align-right {
    text-align: right;
}

/* 行距 */

.line-xs {
    line-height: 30px;
}

.line-sm {
    line-height: 36px;
}

.line-df {
    line-height: 38px;
}

.line-lg {
    line-height: 40px;
}

.line-xl {
    line-height: 42px;
}

/* 粗细 */

.bold-300 {
    font-weight: 300;
}

.bold-400 {
    font-weight: 400;
}

.bold-500 {
    font-weight: 500;
}

.bold {
    font-weight: 600;
}

.bold-700 {
    font-weight: 700;
}

.bold-800 {
    font-weight: 800;
}

/* 边框线 */

.border {
    border: 1px solid #eee;
}

.border-white {
    border: 1px solid #fff;
}

.border-trans {
    border: 1px solid transparent;
}

/* 盒子阴影 */

.shadow {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1), 0 0px 5px 0 rgba(0, 0, 0, 0.05);
}

/* 透明度 */
.opacity-0 {
    opacity: 0%;
}

.opacity-20 {
    opacity: 20%;
}

.opacity-50 {
    opacity: 50%;
}

.opacity-70 {
    opacity: 70%;
}

.opacity-100 {
    opacity: 100%;
}

/* 背景透明度 */
.background-000-50 {
    background: rgba(0, 0, 0, 0.5);
}

.background-fff-20 {
    background: rgba(255, 255, 255, 0.2);
}

.background-888-50 {
    background: rgba(93, 104, 136, 0.5);
}

/* 圆角 */

.radius {
    border-radius: 5px;
}

.radius-10 {
    border-radius: 10px;
}

.radius-lg {
    border-radius: 20px;
}

.radius-24 {
    border-radius: 24px;
}

.radius-26 {
    border-radius: 26px;
}

.radius-xl {
    border-radius: 30px;
}

.radius-32 {
    border-radius: 32px;
}

.radius-40 {
    border-radius: 40px;
}

.radius-45 {
    border-radius: 45px;
}

.radius-50 {
    border-radius: 50%;
}

.radius-100 {
    border-radius: 100%;
}

.radius-top-left-5 {
    border-top-left-radius: 5px;
}

.radius-top-right-5 {
    border-top-right-radius: 5px;
}

.radius-bottom-right-5 {
    border-bottom-right-radius: 5px;
}

.radius-bottom-left-5 {
    border-bottom-left-radius: 5px;
}

.radius-top-left-10 {
    border-top-left-radius: 10px;
}

.radius-top-right-10 {
    border-top-right-radius: 10px;
}

.radius-top-left-20 {
    border-top-left-radius: 20px;
}

.radius-top-right-20 {
    border-top-right-radius: 20px;
}

.radius-bottom-right-10 {
    border-bottom-right-radius: 10px;
}

.radius-bottom-left-10 {
    border-bottom-left-radius: 10px;
}

.radius-bottom-left-15 {
    border-bottom-left-radius: 15px;
}

.radius-top-left-50 {
    border-top-left-radius: 50%;
}

.radius-top-right-50 {
    border-top-right-radius: 50%;
}

.radius-bottom-right-50 {
    border-bottom-right-radius: 50%;
}

.radius-bottom-left-50 {
    border-bottom-left-radius: 50%;
}

/* 滚动 */

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

/* 定位 */

.relative {
    position: relative;
}

.absolute {
    position: absolute !important;
}

.fixed {
    position: fixed;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.top-50 {
    top: 50%;
}

.left-50 {
    left: 50%;
}

/* 层级 */
.z-index-none {
    z-index: -1;
}

.z-index-10 {
    z-index: 10;
}

.z-index-20 {
    z-index: 20;
}

.z-index-30 {
    z-index: 30;
}

.z-index-40 {
    z-index: 40;
}

.z-index-50 {
    z-index: 50;
}

.z-index-99 {
    z-index: 99;
}

/* 鼠标样式 */

.pointer {
    cursor: pointer;
}

/* transform  */
.transform-y-0 {
    transform: translateY(0);
}

.transform-y-50 {
    transform: translateY(-50%);
}

.transform-x-50 {
    transform: translateX(-50%);
}

.transform-50 {
    transform: translate(-50%, -50%);
}

/* 文本溢出省略 */
.text-overflow-hidden-1 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-overflow-hidden-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 盒子模型 */
.border-box {
    box-sizing: border-box;
}

/* 文本线 */
.text-line-through {
    text-decoration: line-through;
}

.text-underline {
    text-decoration: underline;
}

/* 不换行 */
.kee-all {
    word-break: keep-all;
}

.nowrap {
    white-space: nowrap;
}